#1926 - apple 2nd try (use this one) #2374
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
special PR for eric
Here’s a technical recap of what was changed in the Prisma extension to support Prisma 6.6.0+:
Technical Recap: Prisma Extension Updates for Prisma 6.6.0+
1. Explicit Schema and Output Path Handling
schema
andoutput
path for the Prisma client, matching Prisma 6.6.0+ requirements.prisma.config.ts
file.2. Support for
prisma.config.ts
prisma.config.ts
file if it exists in the project.schema
andoutput
values from this config file unless they are overridden in the extension options.3. Removed Directory Inference
schema
.4. Migrations Directory Handling
migrations
directory to be located alongside theschema.prisma
file.5. Prisma Client Output
node_modules
.output
path for the generated client, as required by Prisma 6.6.0+.6. Error Handling
7. Refactored Build Logic
Summary:
The extension was refactored to require explicit configuration for schema and client output, support
prisma.config.ts
, remove all directory inference, and ensure compatibility with Prisma 6.6.0+’s new requirements for client generation and schema location. All build logic now uses these explicit paths, and error handling is improved for easier troubleshooting.